<template>
  <div class="record">
    <div class="container">
      <div class="title_profile">
        <div class="pro_le"><img src="../assets/image/head.png" alt="" /></div>
        <div class="mi_name">
          <p class="name">张小萌</p>
          <div class="text">
            <p>白云区分公司-服务部</p>
            <p>85<span>分</span></p>
          </div>
        </div>
      </div>
      <ul class="text_ul">
        <li v-for="(item, index) in List" :key="index">
          <div class="title">{{ item.title }}</div>
          <div class="date">
            {{ item.date }}
            <div class="score">
              <span>{{ item.score }}</span
              ><span>分</span>
            </div>
          </div>
        </li>
      </ul>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      List: [
        {
          title: "珠江数码员工创新创业大会培训",
          date: "2020.07.13 11:05:02",
          score: 20,
        },
        {
          title: "珠江数码员工创新创业大会培训",
          date: "2020.07.13 11:05:02",
          score: 20,
        },
        {
          title: "珠江数码员工创新创业大会培训",
          date: "2020.07.13 11:05:02",
          score: 20,
        },
        {
          title: "珠江数码员工创新创业大会培训",
          date: "2020.07.13 11:05:02",
          score: 20,
        },
      ],
    };
  },
};
</script>
<style lang="scss" scoped>
.record {
  padding: 2.5625rem 0rem 7rem;
  .container {
    width: 90%;
    height: 40.75rem;
    background-color: #fff;
    margin: 0 auto;
    border-radius: 0.3125rem;
    padding: 1.0625rem 1.375rem 1.0625rem 0.8125rem;

    .title_profile {
      align-items: center;
      position: relative;
      display: flex;
      padding-bottom: 1.0125rem;
      border-bottom: 2px dashed #e4e4e4;
      .pro_le {
        margin-right: 0.8125rem;
        width: 23.3%;
      }
      .mi_name {
        width: 76.7%;
        margin-top: 0.875rem;
        .name {
          font-size: 1.25rem;
          color: #333;
          font-weight: 600;
        }
        .text {
          font-size: 0.8rem;
          display: flex;
          justify-content: space-between;
          p:first-child {
            color: #333333;
            font-size: 0.875rem;
          }
          p:last-child {
            margin-top: -0.7rem;
            font-size: 1.5rem;
            color: #d42454;
            span:first-child {
              font-size: 0.875rem;
            }
          }
        }
      }
    }
    .text_ul {
      margin-top: 0.875rem;
      li {
        background-image: url("../assets/image/reco_bg.png");
        background-position: center;
        background-size: cover;
        width: 100%;
        height: 5.5rem;
        padding: 0.8125rem 0.5rem 0.875rem 0.875rem;
        font-size: 0.875rem;
        color: #999;
        margin-bottom: 0.9375rem;
        .title {
          margin-bottom: 1.5rem;
          font-size: 1rem;
          color: #000;
        }
        .date {
          display: flex;
          justify-content: space-between;
          .score {
            color: #d42454;
            span:first-child {
              font-size: 1.25rem;
            }
          }
        }
      }
    }
  }
}
</style>
